<?

/** Formatting related constants.
 *  This collection of functions (libary) is licensed under GPL2.
 *  See LICENSE or www.gnu.org for more details.
 *  @author Jyry Kuukkanen
 */

define(SONF_DDELIM, "d_delim");
define(SONF_TDELIM, "t_delim");
define(SONF_NEG_SIGN, "neg_sign");
define(SONF_NEG_PREFIX, "neg_prefix");

$SO_NUM_FORMATS = array();

/* Default */
$so_num_format = array();
$so_num_format[SONF_DDELIM] = ".";
$so_num_format[SONF_TDELIM] = "";
$so_num_format[SONF_NEG_SIGN] = "-";
$so_num_format[SONF_NEG_PREFIX] = 1;
$SO_NUM_FORMATS["default"] = $so_num_format;

/* Finnish - use default settings as a template */
$so_num_format = $SO_NUM_FORMATS["default"];
$so_num_format[SONF_DDELIM] = ",";
$so_num_format[SONF_TDELIM] = ".";
$SO_NUM_FORMATS["fi"] = $so_num_format;

?>
